<template>
  <div class="top-right-nav">
    <router-link to="/">
      <img src="./img/icon/home.png" alt="">
      首页
    </router-link>
    <router-link to="/">
      <img src="./img/icon/user.png" alt="">
      登录
    </router-link>
    <router-link to="/">
      <img src="./img/icon/reg.png" alt="">
      注册
    </router-link>
    <router-link to="/">
      <img src="./img/icon/help.png" alt="">
      帮助
    </router-link>
    <router-link to="/">
      <img src="./img/icon/setting.png" alt="">
      语言
    </router-link>
  </div>
</template>

<script>
  export default {

  }
</script>

<style lang="less" scoped>
  .top-right-nav{
    position: absolute;
    top: .3rem;
    right: .2rem;
    text-align: center;
    a{
      display: inline-block;
      width: .5rem;
      text-align: center;
      color: #751415;
      line-height: 2;
      font-size: .24rem;
      margin: 0 .1rem;
      img{
        display: block;
        width: .5rem;
        height: .5rem;
        margin: 0 auto;
      }
    }
    @media(min-width: 768px){
      position: absolute;
      top: 50px;
      right: 70px;
      text-align: right;
      a{
        display: inline-block;
        width: 50px;
        text-align: center;
        color: #751415;
        line-height: 2;
        font-size: 16px;
        margin: 0 5px;
        img{
          display: block;
          width: 30px;
          height: 30px;
          margin: 0 auto;
        }
      }
    }
  }
</style>
